//
//  DnPhotoGalleryServices.h
//  DnPhotoGalleryDemo
//
//  Created by Ngoc on 13/12/2011.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "UIImage+Resize.h"
#import <QuartzCore/CoreAnimation.h>
#import "ATByteImage.h"

typedef enum
{
    DnPhotoFileCopy,
    DnPhotoFileDelete,
    DnPhotoFileMove,
    DnPhotoFolderDelete
}DnPhotoImageFileAction;

@interface DnPhotoGalleryServices : NSObject {
    NSMutableArray *_imagesQueue;    
}

-(NSInteger) numberImageOfFolder:(NSString*) folder;
-(NSInteger) numberFolderOfGallery;
-(NSString*) getRandomName;
-(NSString*) saveImage:(UIImage*) image toFolderName:(NSString*) folderName;
//-(BOOL) saveImageToLibrary:(UIImage*)image;
-(BOOL) saveImagesToLibrary:(NSArray*) images;
-(void) moveFiles:(NSArray*) filePaths toFolder:(NSString*) destFolder;
-(void) moveFolder:(NSString*) sourceFolder toFolder:(NSString*) destFolder;
-(void) deleteFiles:(NSArray*) filePaths;
-(void) copyFiles:(NSArray*) filePaths toFolder:(NSString*) destFolder;
-(UIImage*) getThumbnailImageFromPath:(NSString*) filePath size:(CGSize) size;
-(NSArray*) getImagePathsInFolder:(NSString*) folder;
-(NSArray*) foldersInsideGallery;
-(NSString*) galleryPath;
-(void) deleteFolders:(NSArray*) folderPaths;
@end
